Add developmentDebug to debuggableVariants#25757
Conversation
|
@MonilBhavsar Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@hungvu193 is there any issue for this PR? |
@MonilBhavsar Sorry, I forgot to link the slack convo https://expensify.slack.com/archives/C01GTK53T8Q/p1692790563421559 cc @hannojg |
|
I'll be reviewing & testing this as C+ based on https://expensify.slack.com/archives/C02NK2DQWUX/p1692828139800049?thread_ts=1692826709.997419&cid=C02NK2DQWUX |
|
Looks good so far. |
|
In Android Studio, Gradle build finished in 9 min. Before, it took more than 30 min. |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
0xmiroslav
left a comment
There was a problem hiding this comment.
Tested 3 times (before change and after change) and confirmed build time is more than 3x faster than before.
|
🎯 @0xmiroslav, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #25853. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/AndrewGable in version: 1.3.58-0 🚀
|
|
@AndrewGable @MonilBhavsar Can you pls QA this internally as we are not able to do the same in Staging |
|
No need to QA this as this is for dev. we can check it off |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀
|
|
🚀 Deployed to staging by https://github.com/AndrewGable in version: 1.3.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀
|
Android build time is now a problem because it took a lots of time, by adding developmentDebug to debuggableVariants,
it will skip the bundling of the JS bundle and the assets which saved a lots of time.
Details
Add developmentDebug to debuggableVariants
Fixed Issues
$ https://expensify.slack.com/archives/C01GTK53T8Q/p1692790563421559
PROPOSAL:
Tests
npm run androidOffline tests
QA Steps
npm run androidPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android